package com.kgc.server.service;

import com.kgc.server.pojo.Address;
import com.kgc.server.pojo.Page;
import com.kgc.server.pojo.User;

import java.util.List;

public interface UserService {

    public User getRedisUserInfoList(User user);

    public List getRegular();

    public List getUserList();

    public int setUserList(User user);

    public List getUserListFy(Page page);

    public int delUserListById(int id);

    public List<User> getUserListByID(int id);

    public int updateUserListByID(User user);

    public int setAddressById(Address address);

    public List getAddress(int userId);

    public List getAddressById(int id);

    public int updataAddressById(Address address);

    public int updataMrAddress(int id);

    public int delAddressById(int id);

    public int updataAll(int userId);

    public int setUserPassWordById(String email,String password,String userName);

}
